package com.xiaoyu.awakening.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * AwakeningUserApplication
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan("com.xiaoyu.awakening.*")
@MapperScan(basePackages = {"com.xiaoyu.awakening.user.dao"})
public class AwakeningUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(AwakeningUserApplication.class, args);
    }
}
